package com.hr.pojo;
import java.util.Date;
public class  Upload {
		private Long id;		//id
	    private String user;	//上传用户
	    private String name;	//名字
	    private String content;		//简介
	    private String url;	//下载地址
	    public Upload(String user, String name, String content, String url) {
	        this.user = user;
	        this.name = name;
	        this.content = content;
	        this.url = url;
	    }

	    /** default constructor */
	    public Upload() {
	    }

	    public Long getId() {
	        return this.id;
	    }

	    public void setId(Long id) {
	        this.id = id;
	    }

	    public String getUser() {
	        return this.user;
	    }

	    public void setUser(String user) {
	        this.user = user;
	    }

	    public String getName() {
	        return this.name;
	    }

	    public void setName(String name) {
	        this.name = name;
	    }

	    public String getContent() {
	        return this.content;
	    }

	    public void setContent(String content) {
	        this.content = content;
	    }

	    public String getUrl() {
	        return this.url;
	    }

	    @Override
		public String toString() {
			return "Upload [id=" + id + ", user=" + user + ", name=" + name + ", content=" + content + ", url=" + url
					+ "]";
		}

		public void setUrl(String url) {
	        this.url = url;
	    }

}
